Basket Margin
Request to be POSTed to uri : /NorenWClientTP/GetBasketMargin
Request Details :
Parameter Name | Possible value | Description |
---|---|---|
jData* | Should send json object with fields in below list | |
jKey* | Key Obtained on login success. |
Json Fields | Possible value | Description |
---|---|---|
uid* | Logged in User Id | |
actid* | Account Id of logged in user | |
exch* | NSE / NFO / BSE / MCX | Exchange (Select from ‘exarr’ Array provided in User Details response) |
tsym* | Unique id of contract on which order to be placed. (use url encoding to avoid special char error for symbols like M&M) | |
qty* | Order Quantity | |
prc* | Order Price | |
trgprc | Only to be sent in case of SL-LMT / SL-MKT order. | |
prd* | C / M / H | Product name (Select from ‘prarr’ Array provided in User Details response, and if same is allowed for selected, exchange. Show product display name, for user to select, and send corresponding prd in API call) |
trantype* | B / S | B -> BUY, S -> SELL |
prctyp* | LMT / MKT / SL-LMT / SL-MKT | |
blprc | Book loss Price applicable only if product is selected as H and B (High Leverage and Bracket orderOptional field. Application only for modify order, open order quantity | |
rorgqty | Optional field. Application only for modify order, open order | |
quantity | ||
fillshares | Optional field. Application only for modify order, quantity already filled. | |
rorgprc | Optional field. Application only for modify order, open order price | |
orgtrgprc | Optional field. Application only for modify order, open order trigger price | |
norenordno | Optional field. Application only for H or B order modification | |
snonum | Optional field. Application only for H or B order modification | |
basketlists | Optional field. Array of json objects. (object fields given in below table) |
Json Fields of object in values Array | Possible value | Description |
---|---|---|
exch* | NSE / NFO / BSE / MCX | Exchange (Select from ‘exarr’ Array provided in User Details response) |
tsym* | Unique id of contract on which order to be placed. (use url encoding to avoid special char error for symbols like M&M) | |
qty* | Order Quantity | |
prc* | Order Price | |
trgprc | Only to be sent in case of SL / SL-M order. | |
prd* | C / M / H | Product name (Select from ‘prarr’ Array provided in User Details response, and if same is allowed for selected, exchange. Show product display name, for user to select, and send corresponding prd in API call) |
trantype* | B / S | B -> BUY, S -> SELL |
prctyp* | LMT / MKT / SL-LMT / SL-MKT |
Response Details :
Response data will be in json format with below fields.
Json Fields | Possible value | Description |
---|---|---|
stat | Ok or Not_Ok | Place order success or failure indication. |
request_time | Response received time. | |
remarks | This field will contain rejection reason. | |
marginused | Total margin used. | |
marginusedtrade | Margin used after trade. | |
emsg | This will be present only if Order placement fails |